package com.gpframework.module.common.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gpframework.common.core.domain.BasePlusEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * @ClassName CommonStoreConfigValue
 * @Author gpframework
 * @Date 2022-04-08
 * @Version 1.0.0
 * @Description 店铺基础配置值 PO对象
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("common_store_config_value")
public class CommonStoreConfigValue extends BasePlusEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long storeConfigValueId;
    /**
     * 品牌id
     */
    private Long brandId;

    /**
     * 店铺id
     */
    private Long storeId;

    /**
     * 品牌名称
     */
    private String brandName;

    /**
     * 店铺名称
     */
    private String storeName;

    /**
     * 业务标识
     */
    @TableField(value = "`key`")
    private String key;

    /**
     * 店铺基础配置id;base_store_config#主键
     */
    private Long baseStoreConfigId;

    /**
     * 基础配置题目
     */
    private String baseStoreConfigTopic;

    /**
     * 输入类型;手动输入、选择框
     */
    private String inputType;

    /**
     * 值
     */
    private String value;

    /**
     * 排序
     */
    private Long sort;

    /**
     * 备注
     */
    private String remarks;

}
